<?php

namespace app\shop\controller;

// 框架基础控制类
use think\Controller;
use think\Request;

class Cart extends Controller
{
    //构造函数
    public function __construct()
    {
        //手动把父类的方法获取过来
        parent::__construct();

        // check_cors_request();

        // 全局用户模型
        $this->BusinessModel = model('Business.Business');
        $this->RecordModel = model('Business.Record');
        $this->ProductModel = model('Product.Product');
        $this->CollectionModel = model('Business.Collection'); 
    }
}